package com.example.chain.component;

import com.example.chain.dto.DecisionResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 合规场景决策
 *
 * @author shixiaodong
 * @date 2022-05-26
 */
@Component("forbidden")
@Slf4j
public class ForbiddenPersonDecision extends IDecision {
    @Override
    public void makeDecision(DecisionResult result) {
        log.info("===执行合规场景决策逻辑");
        super.doNext(result);
    }
}
